From: Giovanni Campagna Date: Thu, 13 Feb 2014 16:25:42 +0000 (+0100) Subject: Magnifier: clip the UI group clone to the allocation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2796 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=793c6c2f7beb95523a821f4bec3a0522be4535c5;p=gnome-shell.git Magnifier: clip the UI group clone to the allocation Without clipping, we show parts of the message tray and workspace thumbnails that are normally clipped by the screen. https://bugzilla.gnome.org/show_bug.cgi?id=724305 --- diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 5cc001ea9..6493aff70 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -1208,7 +1208,8 @@ const ZoomRegion = new Lang.Class({ // Clone the group that contains all of UI on the screen. This is the // chrome, the windows, etc. - this._uiGroupClone = new Clutter.Clone({ source: Main.uiGroup }); + this._uiGroupClone = new Clutter.Clone({ source: Main.uiGroup, + clip_to_allocation: true }); mainGroup.add_actor(this._uiGroupClone); // Add either the given mouseSourceActor to the ZoomRegion, or a clone of